<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>

<body>
	<table border="1" cellspacing="0">
        <caption>成绩表</caption>
        <tr>
            <th>姓名</th>
            <th>语文</th>
            <th>数学</th>
            <th>总分</th>
        </tr>
        <tr>
            <td>XXX</td>
            <td>80</td>
            <td>20</td>
            <td>100</td>
        </tr>
        <tr>
            <td>XXX</td>
            <td>100</td>
            <td>58</td>
            <td>118</td>
        </tr>
        </table>
    
    
        <table border="1" cellspacing="0" style="width: 400px;height: 300px;margin: 30px 0">
            <tr>
                <td colspan="2">1占两列</td>
                <td colspan="2">2占两列</td>
                <td colspan="2" rowspan="3">4占三行两列</td>
            </tr>
            <tr>
                <td colspan="2">1</td>
                <td>2</td>
                <td>3</td>
            </tr>
            <tr>
                <td colspan="2">1</td>
                <td>2</td>
                <td>3</td>
            </tr>
            <tr>
                <td colspan="2">1</td>
                <td>2</td>
                <td>3</td>
                <td>4</td>
                <td>5</td>
            </tr>
            <tr>
                <td colspan="2">1</td>
                <td>2</td>
                <td>3</td>
                <td>4</td>
                <td>5</td>
            </tr>
            <tr>
                <td colspan="2">1</td>
                <td>2</td>
                <td>3</td>
                <td>4</td>
                <td>5</td>
            </tr>
            <tr>
                <td colspan="4">1占三列</td>
                <td>4</td>
                <td>5</td>
            </tr>
            <tr>
                <td colspan="7">1</td>
            </tr>
        </table>
        <tbody>
            <caption>复杂完整的成绩表</caption>
            <table border="1" cellspacing="0">
                <thead></thead>
                <tr>
                    <th rowspan="2">姓名</th>
                    <th colspan="2">通识课</th>
                    <th colspan="3">专业课</th>
                    <th rowspan="2">总分</th>
                </tr>
                <tr>
                    <th>英语</th>
                    <th>高数</th>
                    <th>UI设计</th>
                    <th>网页设计</th>
                    <th>程序设计</th>
                </tr>
                <tr>
                    <th>XXX</th>
                    <td>100</td>
                    <td>100</td>
                    <td>100</td>
                    <td>100</td>
                    <td>100</td>
                    <td>500</td>
                </tr>
                <tr>
                    <th>XXX</th>
                    <td>100</td>
                    <td>100</td>
                    <td>100</td>
                    <td>100</td>
                    <td>100</td>
                    <td>500</td>
                </tr>
                <tr>
                    <th>XXX</th>
                    <td>100</td>
                    <td>100</td>
                    <td>100</td>
                    <td>100</td>
                    <td>100</td>
                    <td>500</td>
                </tr>
                <tr>
                    <th>XXX</th>
                    <td>100</td>
                    <td>100</td>
                    <td>100</td>
                    <td>100</td>
                    <td>100</td>
                    <td>500</td>
                </tr>
                <tr>
                    <th>平均</th>
                    <td>100</td>
                    <td>100</td>
                    <td>100</td>
                    <td>100</td>
                    <td>100</td>
                    <td>500</td>
                </tr>
            </table>
        </tbody>
</body>
</html>
